﻿Public Class frmQuanLyNhanVien

    Private Sub TblDonViBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
        Me.Validate()
        Me.TblDonViBindingSource.EndEdit()
        Me.TblDonViTableAdapter.Update(Me.CSDLSVDataSet.tblDonVi)

    End Sub

    Private Sub frmQuanLyNhanVien_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'CSDLSVDataSet.tblNhanVien' table. You can move, or remove it, as needed.
        Me.TblNhanVienTableAdapter.Fill(Me.CSDLSVDataSet.tblNhanVien)
        'TODO: This line of code loads data into the 'CSDLSVDataSet.tblDonVi' table. You can move, or remove it, as needed.
        Me.TblDonViTableAdapter.Fill(Me.CSDLSVDataSet.tblDonVi)

    End Sub

    Private Sub TblNhanvienBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TblNhanvienBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.TblNhanVienBindingSource.EndEdit()
        Me.TblNhanVienTableAdapter.Update(Me.CSDLSVDataSet.tblNhanVien)
    End Sub
End Class